#ifndef __WINDOWS_GLES_H__
#define __WINDOWS_GLES_H__

#include "fwWindows.h"

class _DLL_LIB_API WindowsOpenGLESv2 : public Windows
{
private:
#if CURRENT_PLATFORM == PLATFORM_WIN32 && CURRENT_LIB == GRAPHICS_LIB_OPENGLES_20 //For run OpenGLES in Windows environment
	ESContext* m_pESContext;
#endif
protected:
#if CURRENT_PLATFORM == PLATFORM_WIN32
	virtual bool CreateWindows();
	virtual bool CreateClientWindows();

	virtual void KeyboardUpdate(WPARAM wParam, bool status);
	virtual void MouseUpdate();
#endif

public:
	WindowsOpenGLESv2(char * szTitle, int iFlags);
	~WindowsOpenGLESv2();
	virtual int Init();
	virtual void Destroy();
};

#endif